package com.feiclub.subject.application.convert;

import com.feiclub.subject.application.dto.SubjectCategoryDTO;
import com.feiclub.subject.domain.entity.SubjectCategoryBO;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryDTOConverter {
    SubjectCategoryDTOConverter INSTANCE = Mappers.getMapper(SubjectCategoryDTOConverter.class);
      List<SubjectCategoryDTO> converterBoToCategoryDTOList(List<SubjectCategoryBO> subjectCategoryBOList);

       SubjectCategoryBO convertDtoToCategoryBO(SubjectCategoryDTO subjectCategoryDTO);

       SubjectCategoryDTO convertBoToCategoryDTO(SubjectCategoryBO subjectCategoryBO);
}
